import 'babel-polyfill'
import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import store from '@/store'
import 'filters'
import 'components'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'style/index.scss'
// @ts-ignore
import EScreen from 'e-screen'
import 'e-screen/lib/e-screen.css'

import Promise from 'es6-promise'

Vue.config.productionTip = false

Vue.use(ElementUI, { size: 'small' })
Vue.use(EScreen)

Promise.polyfill()

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
